﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCThongBao.ascx.cs" Inherits="Web.giaovien.UCThongBao" %>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    Width="100%" DataKeyNames="MaTB" 
    onselectedindexchanging="GridView1_SelectedIndexChanging" 
    BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" 
    CellPadding="4" GridLines="Horizontal">
    <Columns>
        <asp:BoundField DataField="matb" HeaderText="Mã TB" />
        <asp:BoundField DataField="tieude" HeaderText="Tiêu đề" />
        <asp:TemplateField HeaderText="Người Tạo">
            <ItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("GiaoVien.TenGV") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="ngaytao" HeaderText="Ngày tạo" />
        <asp:CommandField SelectText="Chi tiết" ShowSelectButton="True" />
    </Columns>
    <FooterStyle BackColor="White" ForeColor="#333333" />
    <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F7F7F7" />
    <SortedAscendingHeaderStyle BackColor="#487575" />
    <SortedDescendingCellStyle BackColor="#E5E5E5" />
    <SortedDescendingHeaderStyle BackColor="#275353" />
</asp:GridView>